import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';

/**
 * game模块-关卡解锁信息
 */
@Entity('game_level_player')
export class GameLevelPlayerEntity extends BaseEntity {
  @Index()
  @Column({ comment: '关卡id' })
  levelId: number;

  @Index()
  @Column({ comment: '玩家id' })
  playerId: number;
}
